<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');
?>
<style>
.pages {
	margin: 10px 0 0 300px;
	clear:both;
}
th {
	height:14px;
	font-size:14px;
	background-color:#507CD1;
}
tr {
	height:30px;
	border-bottom:1px solid #eee;
}
td {
	width:40px;
	text-align:center;
}

</style>
<body>
<div class="complaint">
<div class="tb">
<table>
<tr style="color:White;font-weight:bold;">
<th style="width: 5%"scope="col">序号</th>
<th style="width: 5%"scope="col">投诉人</th>
<th style="width: 10%"scope="col">投诉单号</th>
<th style="width: 5%"scope="col">理赔金额</th>
<th style="width: 20%"scope="col">投诉内容</th>
<th style="width: 15%"scope="col">处理状态</th>
<th style="width: 10%"scope="col">投诉时间</th>
<th style="width: 20%"scope="col">附图</th>
<th style="width: 10%"scope="col">处理投诉</th>
</tr>
<?php foreach ($datas as $r){?>
<tr>
<td><?php echo ++$kaishi?></td>
<td><?php echo $r['username']?></td>
<td><?php echo $r['zhnumber']?></td>
<td><?php echo $r['money'].'元'?></td>
<td><?php echo $r['reason']?></td>
<td><?php echo $r['state']?></td>
<td><?php echo date('Y-m-d',$r['uptime'])?></td>
<td><?php echo $r['picture']?></td>

<td><a class="add fb" href="javascript:window.top.art.dialog({id:'add',iframe:'?m=order&c=manage&a=tscl&id=<?php echo $r['id']?>', title:'投诉处理', width:'700', height:'500', lock:true}, function(){var d = window.top.art.dialog({id:'add'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'add'}).close()});void(0);">
处理投诉
</a></td>
</tr>
<?php }?>
</table>
</div>
<div class="pages"><?php echo $pages?></div>
</div>
</body>
</html>



